package cn.itcast.hotel.pojo;

import lombok.Data;

import java.util.List;

@Data
public class PageRsult {
    private long total; //总数
    private List<HotelDoc> hotels; //数据集合

    public PageRsult(long total, List<HotelDoc> hotelDocList) {
        this.total = total;
        this.hotels = hotelDocList;
    }

    public PageRsult() {
    }
}
